public class BookList {
    public Book[] books;
    private int size = 3;

    public  BookList(){
        this.books = new Book[10];
        this.books[0]=new Book("三国演义",19,"罗贯中","小说");
        this.books[1]=new Book("西游记",20,"吴承恩","小说");
        this.books[2] = new Book("红楼梦",10,"曹雪芹","小说");

    }


    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
